package com.app.model.util;

/**
 * Campus com.app.model.util
 *
 * @author Lichaojie
 * @version 2018/5/8 19:31
 */
public enum EmpiricalSource {

	登录((byte)1,100),
	完善个人信息((byte)1,50),
	邀请好友((byte)3,500),
	发普通帖((byte)4,100),
	发特殊帖((byte)5,-1),//与特殊帖的金币有关
	回复帖子((byte)6,20),
	应助((byte)7,50),
	分享帖子((byte)8,50),
	帖子被点赞((byte)9,5),
	回帖at他人((byte)10,3);

	private byte index;
	private int value;

	EmpiricalSource(byte index,int value){
		this.index = index;
		this.value = value;
	}

	public byte getIndex() {
		return index;
	}

	public EmpiricalSource setIndex(byte index) {
		this.index = index;
		return this;
	}

	public int getValue() {
		return value;
	}

	public EmpiricalSource setValue(int value) {
		this.value = value;
		return this;
	}
}
